import {buildProps} from "@/utils/props";
import {ExtractPropTypes} from "vue";

export const DButtonProps = buildProps({
  type: {
    type: String,
    values: ['primary', 'danger', 'info', 'success', 'warning', 'white'],
    default: 'primary',
  },
  text: {
    type: Boolean,
    default: false,
  }
} as const)

export type DButtonProps = ExtractPropTypes<typeof DButtonProps>
